# -*- coding: utf-8 -*-
import logging
import sys

from compare_module import compare_dir

#第一个参数是老代码路径 第二个参数是新代码路径
if __name__ == "__main__":
    logging.basicConfig(filename='springboot_compare_app_warning.log',  # 指定日志文件
                        level=logging.WARNING,
                        format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
    args = sys.argv[1:]
    compare_dir(args)